#ifndef _TRACE_FORMATTER_H_
#define _TRACE_FORMATTER_H_

#include <string>
#include <sstream>


using namespace std;

class TraceFormatter
{
public:
  TraceFormatter(string& s);
  virtual ~TraceFormatter(void);
  virtual string& GetFormatted();

  string& MakeTraceHeader(string& sin);
  static string& TimeHeader(string& sin);
  string& FormatBinToHex(const unsigned char* bin, const unsigned int size);


private:
  string _buff;
  
};

extern string HexFormat(string& is);

#endif // _TRACE_FORMATTER_H_

// EOF
